@import "../_config.scss";
.designers-index {
    .join-btn {
        padding: 10px 20px;
        background-color: $color-primary;
        color: #fff;
        border-radius: 0;
        border: 0;
    }

    .banner {
        img {
            min-height: 350px;
            width: 100%;
            margin-top: -1px;
        }
        .container {
            position: relative;
        }
        .suspension {
            position: absolute;
            bottom: 100px;
            h1 {
                margin-bottom: 30px;
                position: relative;
                font-size: 30px;
                color: #fff;
                span {
                    font-weight: bold;
                }
                &::after {
                    content: '';
                    width: 100px;
                    background-color: #fff;
                    height: 2px;
                    position: absolute;
                    top: 150%;
                    left: 0;
                }
            }
            p {
                color: #fff;
                padding-bottom: 20px;
            }
        }
    }

    .advantage{
        border: 1px dashed $color-border;
        padding-top: 15px;
        padding-bottom: 15px;
        margin-top: 60px;
        margin-bottom: 60px;

        >div{
            padding-top: 15px;
            padding-bottom: 15px;

            &.right{
                min-height: 126px;
                border-left: 1px solid $color-border;
                a{
                    display: -webkit-inline-box;
                }
            }

            &.left{
                display: flex;
                flex-flow: row nowrap;
                .item{
                    width: 25%;
                    i{
                        font-size: 30px;
                        padding: 10px;
                        background-color: #fff;
                        box-shadow: 0px 0px 5px 5px #eeeeee;
                        border-radius: 50%;
                        color: $color-primary;
                    }
                    h1{
                        font-size: 15px;
                    }
                }
            }
        }

        .join-tip{
            margin-top: 10px;
        }
    }

    .activities{
        width: 100%;
        background-color: #F6F7FC;
        padding: 40px 0;

        .title{
            font-size: 20px;
            color: #222222;
            small{
                color: #767676;
                font-size: 12px;
            }
        }

        .item{
            max-height: 540px;
            margin-bottom: 20px;
            img{
                cursor: pointer;
                width: 100%;
                height: 350px;
                &:hover{
                    opacity: 0.7;
                }
            }
            .item-info{
                padding: 25px 30px;
                background-color: #fff;

                h1{
                    cursor: pointer;
                    margin: 0;
                    font-size: 18px;
                    color: #222222;

                    overflow : hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;

                    &:hover{
                        color: $color-private;
                    }
                }
                p{
                    margin: 20px 0;
                    overflow : hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                    min-height: 60px;
                    color: #666;
                }
                .time{
                    color: #999;
                }
            }
        }

        .more{
            margin-bottom: 20px;
            padding: 15px 0;
            background-color: #fff;
            color: #666666;

            a{
                &:hover{
                    color: $color-private;
                }
            }
        }
    }

    .carousl{
        .title{
            margin-top: 60px;
            margin-bottom: 30px;
            font-size: 20px;
            color: #222222;

            small{
                font-size: 12px;
                color: #767676;
            }
        }
    }


}

.mobile-designer-index{
    background-color: #e5e5e5;
    min-height: 90%;
    .banner{
        width: 100%;
        position: relative;

        img{
            width: 100%;
            height: 48vw;
        }

        .content{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-flow: column nowrap;
            align-items: center;
            justify-content: center;
            h1{
                margin-top: 0;
                margin-bottom: 10px;
                margin-bottom: 2.66vw;
                color: #fff;
                font-size: 25px;
                font-size: 6.66vw;
            }
            h2{
                margin-top: 0;
                margin-bottom: 20px;
                margin-bottom: 5.33vw;
                color: #fff;
                font-size: 15px;
                font-size: 4vw;
            }
        }
    }

    .activities{
        margin-top: 10px;
        margin-top: 2.66vw;
        padding: 15px 10px  15px 15px;
        padding: 4vw 2.66vw  4vw 4vw;
        background-color: #fff;

        .title{
            color: #222222;
            h1{
                margin-top: 0;
                margin-bottom: 10px;
                margin-bottom: 2.66vw;
                font-size: 15px;
                font-size: 4vw;
            }
        }

        .list{
                    display: flex;
            flex-flow: row wrap;
        }

        .item{
            width: 170px;
            width: 45.33vw;
            margin-right: 5px;
            margin-right: 1.33vw;
            img{
                width: 100%;
                height: 120px;
                height: 32vw;
            }

            h1{
                font-size: 15px;
                font-size: 4vw;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: block-axis;
                height: 40px;
                line-height: 20px;
            }
        }
    }

    .designers{
        margin-top: 10px;
        margin-top: 2.66vw;
        padding: 15px 10px  15px 15px;
        padding: 4vw 2.66vw  4vw 4vw;
        background-color: #fff;


        .title{
            margin-top: 0;
            margin-bottom: 10px;
            margin-bottom: 2.66vw;
            font-size: 15px;
            font-size: 4vw;
            color: #222222;
        }

        .list{
            display: flex;
            flex-flow: row wrap;
            justify-content: space-between;
        }

        .item{
            width: 110px;
            width: 29.33vw;
            margin-right: 5px;
            margin-right: 1.33vw;
            margin-bottom: 60px;
            margin-bottom: 16vw;
            img{
                width: 100%;
                height: 110px;
                height: 29.33vw;
            }

            h1{
                margin-top: 10px;
                margin-top: 2.66vw;
                font-size: 15px;
                font-size: 4vw;
                // overflow: hidden;
                // text-overflow: ellipsis;
                // display: -webkit-box;
                // -webkit-line-clamp: 2;
                // -webkit-box-orient: block-axis;
                // height: 40px;
                // line-height: 20px;
            }
            h2{
                margin-top: 10px;
                margin-top: 2.66vw;
                font-size: 13px;
                font-size: 3.46vw;
                color: $color-private;
            }
        }
    }
}
